.tooltip {
    cursor: help;
    position: relative;
    width: 30px;
    height: 30px;
    background-color: cornflowerblue;
}

.tooltip-text {
    position: absolute;
    left: 30px;
    z-index: 1;
    width: 250px;
    padding: 5px;
    background-color: green;
    color: white;
    border-radius: 10px;
    display: none;
}

.tooltip:hover .tooltip-text {
    display: block;
}